<template>
  <div id="tasks">
    <!-- 任务操作 -->
    <!-- <div class="task-option">
      <div class="create-task" v-show="1">
        <h3>当前没有创建学习任务，点击创建学习任务</h3>
        <el-button type="primary">创建</el-button>
      </div>
      <div class="change-Task" v-show="0">
        <h3>学习任务已创建，点击编辑任务</h3>
        <el-button type="primary">修改</el-button>
        <el-button type="primary">重置</el-button>
      </div>
    </div> -->
    <!-- 任务预览 -->
    <!-- <div>
    </div> -->
    <!-- 任务编辑 -->
    <editTask/>
  </div>
</template>

<script>
import editTask from './task-edit.vue'
export default {
  name: 'tasks',
  components: { editTask },
  props: ['ldq'],
  data () {
    return {
    }
  },
  methods: {
    reData () {
      this.$emit('reldq', 1)
    }
  }
}
</script>

<style lang="less" scoped>
</style>